|
PHY MAKE TRIGGER SPHERE
Make a new trigger sphere.
PHY MAKE TRIGGER SPHERE ID, x#, y#, y#, radius#
ID
Integer
identification number of the trigger, these numbers are unique to triggers
x#
Float
position of the trigger sphere on the X axis
y#
Float
position of the trigger sphere on the Y axis
y#
Float
position of the trigger sphere on the Z axis
radius#
Float
size of the trigger sphere
Create a new trigger sphere to be placed into the simulation. Trigger objects are used as an ideal method for triggering certain events. For example, you may have a situation where you want a door to be opened automatically as the player walks nearby. By placing a trigger in front of the door you can use code to check when an object enters it and proceed to open the door automatically. Note that trigger objects are invisible and only seen by the simulation.
No example code is provided for this command
|